package org.mall.modules.cash.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.mall.common.api.vo.Result;
import org.mall.modules.cash.entity.CashDetailInfo;
import org.mall.modules.cash.entity.CashInfoLog;
import com.baomidou.mybatisplus.extension.service.IService;
import org.mall.modules.pojo.cash.CashInfoLogQueryDTO;

import java.util.List;

/**
 * @Description: 提现信息记录表
 * @Author: jeecg-boot
 * @Date:   2019-12-31
 * @Version: V1.0
 */
public interface ICashInfoLogService extends IService<CashInfoLog> {

    Boolean saveCashInfoLogDetails(List<CashInfoLog> cashInfoLog);

    IPage<CashInfoLog> pageList(Page<CashInfoLog> page, QueryWrapper<CashInfoLog> queryWrapper);

    CashInfoLog getDetailById(Long infoId);

    Boolean confirm(Long cashInfoLogId,Integer payChannel);

    Boolean refuse(Long cashInfoLogId,String response);

    Result<?> getTransactionLog(Long cashId);

    IPage<CashInfoLog> pageListByCondition(Page page, CashInfoLogQueryDTO cashInfoLog);
}
